FlexReport for WinForms
TryGetValue メソッド (C1KeyedList<TKey,TItem>)


C1.Win.C1Document.4.5.2 アセンブリ > C1.Win.C1Document 名前空間 > C1KeyedList<TKey,TItem> クラス : TryGetValue メソッド
指定されたキー。
ドキュメントのページ。
指定されたキーに基づいてページを取得します。
シンタックス
'宣言
 
Public Function TryGetValue( _
   ByVal key As TKey, _
   ByRef item As TItem _
) As System.Boolean
'使用法
 
Dim instance As C1KeyedList(Of TKey,TItem)
Dim key As TKey
Dim item As TItem
Dim value As System.Boolean
 
value = instance.TryGetValue(key, item)
public System.bool TryGetValue( 
   TKey key,
   out TItem item
)

パラメータ

key
指定されたキー。
item
ドキュメントのページ。

戻り値の型

C1KeyedList<TKey,TItem> 内で項目が見つかった場合は true、そうでない場合は false。
参照

C1KeyedList<TKey,TItem> クラス
C1KeyedList<TKey,TItem> メンバ